using OrbitOne.CRMLyncInfoDashboard.CRM;

namespace OrbitOne.CRMLyncInfoDashboard.Shell
{
    public class PhoneNumberActionLink: ActionLink
    {
        public PhoneNumberActionLink(DisplayFieldModel displayFieldModel) : base(displayFieldModel)
        {
        }

        protected override void ExecuteAction()
        {
            WindowUtility.OpenPage(string.Format("tel:{0}", FieldValue));
        }
    }
}